GenerativeComponents Help

Round

Returns the given number, rounded to the specified precision (number of digits after the decimal point).

double Round(double n, optional int precision)

The precision must be between 0 and 15, inclusive.

The default precision is zero, which rounds to the nearest whole number.